﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<rmeloni.Models.Projetos>" %>
<%@ Import Namespace="rmeloni.Helpers"%>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2> <%= Html.Encode(Model.Nome) %></h2>

    <% if (Model.Imagem != null)
        { %>
            <%=Html.Thumbnail("Service", "GetImage", Model.Id)%>
    <%  } %>

    <p><%= Html.Encode(Model.Descricao) %></p>
    
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentSide" runat="server">
    <% Html.RenderPartial("AllProjects", ViewData["vAllProjects"]); %>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="ContentMap" runat="server">
    <%= Html.ActionLink("Projetos", "Index") %> / <%= Html.Encode(Model.Nome) %>
    <br /><br />
</asp:Content>

